
<h1>用户中心</h1>
<hr />

<table>

<tr>
<td>用户ID</td>
<td><?php echo $post['User']['id'] ?></td>
</tr>

<tr>
<td>用户昵称</td>
<td><?php echo $post['User']['username'] ?></td>
</tr>

<tr>
<td>注册时间</td>
<td><?php echo $post['User']['date'] ?></td>
</tr>

<tr>
<td>微博总量</td>
<td><?php echo $weibosCount ?></td>
</tr>

<tr>
<td><?php echo $this->Html->link('关注数', array('action' => 'followedView') ,$post['User']['id'] )?></td>
<td><?php echo $followsCount ?></td>
</tr>

<tr>
<td><?php echo $this->Html->link('粉丝数', array('action' => 'fansView') ,$post['User']['id'] )?></td>
<td><?php echo $fansCount ?></td>
</tr>

</table>

<p><?php echo $this->Html->link( '+关注' , array('action' => 'follow',$post['User']['id']));
echo ' / ';
echo $this->Html->link( '-取消关注' , array('action' => 'unFollow',$post['User']['id'])); ?></p>
